package com.wxg.demo;

import com.alee.extended.layout.VerticalFlowLayout;
import com.alee.extended.window.TestFrame;
import com.alee.laf.WebLookAndFeel;
import com.alee.laf.label.WebLabel;
import com.alee.laf.panel.WebPanel;
import com.alee.laf.scroll.WebScrollPane;
import com.alee.laf.separator.WebSeparator;
import com.alee.laf.text.WebTextArea;

public class StylingExample {

	public static void main ( final String[] args )
    {
        WebLookAndFeel.install ();

        final WebPanel panel = new WebPanel ( new VerticalFlowLayout ( true, true ) );

        final WebLabel title = new WebLabel ( "Panel Title" );
        panel.add ( title );

        final WebSeparator separator = new WebSeparator ();
        panel.add ( separator );

        final WebTextArea textArea = new WebTextArea ( 3, 20 );
        final WebScrollPane scrollPane = new WebScrollPane ( textArea );
        panel.add ( scrollPane );

        TestFrame.show ( panel );
    }
}
